package com.cdream.gateway.config;

/**
 * @author cdream
 * @date 2021/8/8
 */
// @Configuration
public class RouterFunctionConfig {
    // @Autowired
    // private ValidateCodeHandler validateCodeHandler;
    // @Bean
    // public RouterFunction routerFunction(){
    //     return RouterFunctions.route(
    //             RequestPredicates.GET("/code").and(RequestPredicates.accept(MediaType.TEXT_PLAIN)),
    //             validateCodeHandler);
    // }
}
